- 
		Home
	
 
	- 
WP Statistics – Simple, privacy-friendly Google Analytics alternative
 
- 
13.1
 
- 
Code
 
- 
Classes
 
-  GeoIP 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											95 | 
										
																			
											| Dependencies | 
											7 | 
										
																			
											| Dependents | 
											12 | 
										
																	
							 
													
								
																			
											| Total lines | 
											594 | 
										
																			
											| Lines of code | 
											298 | 
										
																			
											| Logical lines of code | 
											195 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											172 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| download() | 
									C  | 
																	32 | 
													27 | 
													94 | 
							
					
				| getCity() | 
									A  | 
																	46 | 
													13 | 
													37 | 
							
					
				| getCountry() | 
									A  | 
																	46 | 
													12 | 
													39 | 
							
					
				| cleanCacheCity() | 
									A  | 
																	54 | 
													9 | 
													19 | 
							
					
				| Update_GeoIP_Visitor() | 
									A  | 
																	47 | 
													8 | 
													33 | 
							
					
				| active() | 
									S  | 
																	59 | 
													6 | 
													13 | 
							
					
				| IsSupport() | 
									S  | 
																	62 | 
													4 | 
													12 | 
							
					
				| setCacheCity() | 
									S  | 
																	60 | 
													4 | 
													12 | 
							
					
				| Loader() | 
									S  | 
																	60 | 
													3 | 
													13 | 
							
					
				| getDefaultCountryCode() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| getUserCountryFromDB() | 
									S  | 
																	63 | 
													2 | 
													9 | 
							
					
				| getCacheCity() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| get_geo_ip_path() | 
									S  | 
																	76 | 
													1 | 
													3 | 
							
					
				| geoIPTools() | 
									S  | 
																	79 | 
													1 | 
													3 |